<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" >
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
<h1>登录</h1>
<form action="login" method="post" th:action="@{/login.do}">
用户名:<input name="name" type="text"><br>
密码:<input name="pwd" type="text"><br>
<input type="submit" value="登录">
</form>
</body>
</html>